home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6d 6f | 74 68 65 72 2e 75 73 66 |Path: mo|ther.usf|
|00000010| 2e 65 64 75 21 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |.edu!new|s.From: |
|00000020| 22 54 68 6f 6d 61 73 20 | 53 61 6e 69 64 61 73 20 |"Thomas |Sanidas |
|00000030| 28 42 49 4f 29 22 20 3c | 73 61 6e 69 64 61 73 3e |(BIO)" <|sanidas>|
|00000040| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000050| 70 2e 6c 61 6e 67 2e 63 | 0a 53 75 62 6a 65 63 74 |p.lang.c|.Subject|
|00000060| 3a 20 52 65 3a 20 70 61 | 73 73 69 6e 67 20 61 72 |: Re: pa|ssing ar|
|00000070| 67 75 6d 65 6e 74 73 20 | 74 6f 20 6d 61 69 6e 28 |guments |to main(|
|00000080| 29 0a 44 61 74 65 3a 20 | 36 20 4d 61 72 20 31 39 |).Date: |6 Mar 19|
|00000090| 39 36 20 30 31 3a 34 35 | 3a 30 30 20 47 4d 54 0a |96 01:45|:00 GMT.|
|000000a0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 55 6e |Organiza|tion: Un|
|000000b0| 69 76 65 72 73 69 74 79 | 20 6f 66 20 53 6f 75 74 |iversity| of Sout|
|000000c0| 68 20 46 6c 6f 72 69 64 | 61 0a 4d 65 73 73 61 67 |h Florid|a.Messag|
|000000d0| 65 2d 49 44 3a 20 3c 34 | 68 69 71 6d 73 24 6b 67 |e-ID: <4|hiqms$kg|
|000000e0| 32 40 6d 6f 74 68 65 72 | 2e 75 73 66 2e 65 64 75 |2@mother|.usf.edu|
|000000f0| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 34 |>.Refere|nces: <4|
|00000100| 68 37 38 74 31 24 6e 71 | 71 40 6e 65 74 6e 65 77 |h78t1$nq|q@netnew|
|00000110| 73 2e 75 70 65 6e 6e 2e | 65 64 75 3e 20 3c 34 68 |s.upenn.|edu> <4h|
|00000120| 37 71 6c 38 24 34 72 73 | 40 6e 65 77 73 2e 6d 69 |7ql8$4rs|@news.mi|
|00000130| 63 72 6f 73 6f 66 74 2e | 63 6f 6d 3e 0a 4e 4e 54 |crosoft.|com>.NNT|
|00000140| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000150| 31 33 31 2e 32 34 37 2e | 33 31 2e 33 0a 4d 69 6d |131.247.|31.3.Mim|
|00000160| 65 2d 56 65 72 73 69 6f | 6e 3a 20 31 2e 30 0a 43 |e-Versio|n: 1.0.C|
|00000170| 6f 6e 74 65 6e 74 2d 54 | 79 70 65 3a 20 74 65 78 |ontent-T|ype: tex|
|00000180| 74 2f 70 6c 61 69 6e 3b | 20 63 68 61 72 73 65 74 |t/plain;| charset|
|00000190| 3d 75 73 2d 61 73 63 69 | 69 0a 43 6f 6e 74 65 6e |=us-asci|i.Conten|
|000001a0| 74 2d 54 72 61 6e 73 66 | 65 72 2d 45 6e 63 6f 64 |t-Transf|er-Encod|
|000001b0| 69 6e 67 3a 20 37 62 69 | 74 0a 58 2d 4d 61 69 6c |ing: 7bi|t.X-Mail|
|000001c0| 65 72 3a 20 4d 6f 7a 69 | 6c 6c 61 20 31 2e 31 4e |er: Mozi|lla 1.1N|
|000001d0| 20 28 58 31 31 3b 20 49 | 3b 20 53 75 6e 4f 53 20 | (X11; I|; SunOS |
|000001e0| 34 2e 31 2e 33 5f 55 31 | 20 73 75 6e 34 6d 29 0a |4.1.3_U1| sun4m).|
|000001f0| 54 6f 3a 20 61 2d 63 6e | 61 64 63 40 6d 69 63 72 |To: a-cn|adc@micr|
|00000200| 6f 73 6f 66 74 2e 63 6f | 6d 0a 58 2d 55 52 4c 3a |osoft.co|m.X-URL:|
|00000210| 20 6e 65 77 73 3a 34 68 | 37 71 6c 38 24 34 72 73 | news:4h|7ql8$4rs|
|00000220| 40 6e 65 77 73 2e 6d 69 | 63 72 6f 73 6f 66 74 2e |@news.mi|crosoft.|
|00000230| 63 6f 6d 0a 0a 49 27 6d | 20 6e 6f 74 20 73 75 72 |com..I'm| not sur|
|00000240| 65 20 49 20 75 6e 64 65 | 72 73 74 61 6e 64 20 79 |e I unde|rstand y|
|00000250| 6f 75 72 20 71 75 65 73 | 74 69 6f 6e 2e 20 20 49 |our ques|tion. I|
|00000260| 20 74 68 69 6e 6b 20 79 | 6f 75 20 6d 61 79 20 77 | think y|ou may w|
|00000270| 61 6e 74 20 74 6f 20 6c | 6f 6f 6b 20 61 74 20 74 |ant to l|ook at t|
|00000280| 68 65 0a 74 77 6f 20 76 | 61 72 69 61 62 6c 65 73 |he.two v|ariables|
|00000290| 20 61 72 67 63 20 61 6e | 64 20 61 72 67 76 2e 20 | argc an|d argv. |
|000002a0| 20 44 65 63 6c 61 72 65 | 64 20 6c 69 6b 65 20 74 | Declare|d like t|
|000002b0| 68 69 73 3a 20 0a 20 0a | 6d 61 69 6e 28 69 6e 74 |his: . .|main(int|
|000002c0| 20 61 72 67 63 2c 20 63 | 68 61 72 2a 20 61 72 67 | argc, c|har* arg|
|000002d0| 76 5b 5d 29 0a 7b 0a 2f | 2a 43 20 63 6f 64 65 20 |v[]).{./|*C code |
|000002e0| 68 65 72 65 2a 2f 0a 0a | 72 65 74 75 72 6e 3b 0a |here*/..|return;.|
|000002f0| 7d 0a 0a 61 72 67 63 20 | 69 73 20 61 6e 20 69 6e |}..argc |is an in|
|00000300| 74 65 67 65 72 20 74 68 | 61 74 20 63 6f 75 6e 74 |teger th|at count|
|00000310| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00000320| 63 6f 6d 6d 61 6e 64 73 | 20 6f 6e 20 74 68 65 20 |commands| on the |
|00000330| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 28 69 74 |command |line (it|
|00000340| 0a 69 73 20 61 6c 77 61 | 79 73 20 61 74 20 6c 65 |.is alwa|ys at le|
|00000350| 61 73 74 20 6f 6e 65 20 | 62 65 63 61 75 73 65 20 |ast one |because |
|00000360| 74 68 65 20 65 78 65 63 | 75 74 61 62 6c 65 20 66 |the exec|utable f|
|00000370| 69 6c 65 20 6e 61 6d 65 | 20 63 6f 75 6e 74 73 20 |ile name| counts |
|00000380| 61 73 20 61 20 63 6f 6d | 6d 61 6e 64 29 2e 0a 61 |as a com|mand)..a|
|00000390| 72 67 76 20 69 73 20 61 | 6e 20 61 72 72 61 79 20 |rgv is a|n array |
|000003a0| 6f 66 20 70 6f 69 6e 74 | 65 72 73 20 74 68 61 74 |of point|ers that|
|000003b0| 20 70 6f 69 6e 74 20 74 | 6f 20 61 20 63 68 61 72 | point t|o a char|
|000003c0| 61 63 74 65 72 20 61 72 | 72 61 79 2e 20 20 46 6f |acter ar|ray. Fo|
|000003d0| 72 20 65 78 61 6d 70 6c | 65 3a 0a 61 72 67 76 5b |r exampl|e:.argv[|
|000003e0| 30 5d 20 77 6f 75 6c 64 | 20 62 65 20 61 2e 6f 75 |0] would| be a.ou|
|000003f0| 74 20 28 61 73 73 75 6d | 69 6e 67 20 74 68 65 20 |t (assum|ing the |
|00000400| 70 72 6f 67 72 61 6d 20 | 6e 61 6d 65 20 69 73 20 |program |name is |
|00000410| 61 2e 6f 75 74 29 2e 20 | 20 59 6f 75 20 63 61 6e |a.out). | You can|
|00000420| 20 70 72 6f 74 6f 74 79 | 70 65 0a 61 72 67 76 20 | prototy|pe.argv |
|00000430| 75 73 69 6e 67 20 65 69 | 74 68 65 72 20 63 68 61 |using ei|ther cha|
|00000440| 72 20 2a 61 72 67 76 5b | 5d 20 6f 72 20 63 68 61 |r *argv[|] or cha|
|00000450| 72 20 2a 2a 61 72 67 76 | 2e 20 20 49 66 20 49 27 |r **argv|. If I'|
|00000460| 6d 20 6f 66 66 20 62 61 | 73 65 20 61 6e 64 20 74 |m off ba|se and t|
|00000470| 68 69 73 20 69 73 20 6e | 6f 74 0a 77 68 61 74 20 |his is n|ot.what |
|00000480| 79 6f 75 20 6e 65 65 64 | 65 64 2c 20 64 72 6f 70 |you need|ed, drop|
|00000490| 20 6d 65 20 61 20 6c 69 | 6e 65 20 61 6e 64 20 49 | me a li|ne and I|
|000004a0| 27 6c 6c 20 74 72 79 20 | 74 6f 20 68 65 6c 70 2e |'ll try |to help.|
|000004b0| 20 20 42 79 20 74 68 65 | 20 77 61 79 2c 20 74 68 | By the| way, th|
|000004c0| 65 20 65 2d 6d 61 69 6c | 0a 61 64 64 72 65 73 73 |e e-mail|.address|
|000004d0| 20 69 73 20 77 72 6f 6e | 67 20 28 49 27 6d 20 6f | is wron|g (I'm o|
|000004e0| 6e 20 61 20 66 72 69 65 | 6e 64 73 20 61 63 63 6f |n a frie|nds acco|
|000004f0| 75 6e 74 29 20 20 6d 61 | 69 6c 20 6d 65 20 61 74 |unt) ma|il me at|
|00000500| 0a 64 61 6e 67 65 6c 6f | 40 63 75 72 6c 79 2e 62 |.dangelo|@curly.b|
|00000510| 73 6e 2e 75 73 66 2e 65 | 64 75 20 6f 72 20 67 64 |sn.usf.e|du or gd|
|00000520| 61 6e 67 65 6c 6f 40 73 | 6f 6c 65 69 6c 2e 61 63 |angelo@s|oleil.ac|
|00000530| 6f 6d 70 2e 75 73 66 2e | 65 64 75 2e 0a 0a |omp.usf.|edu... |
+--------+-------------------------+-------------------------+--------+--------+